package com.leen.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 七牛云配置文件
 *
 * @author admin
 * @date 2021-04-14
 */
@Getter
@Setter
@ToString
@Component
@ConfigurationProperties(prefix = "qiniu")
public class QiniuProperties {

   private String  accessKey;

   private String secretKey;

   private String bucket;

   /**
    * 只支持图片类型
    */
   private String imageExt;

   /**
    * 文件大小
    */
   private String imageSize="1MB";


   /**
    * 缩略图对象
    */
   private Thumb thumb;


}
